package com.wh.user.Controller;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class UserController {
    @Value("${ld.value}")
    private Integer value;

    @GetMapping(value = "/hello")
    public String hello() {
        return "hello word" + value;
    }
}
